home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19981211-19990422 / 000363_news@watsun.cc.columbia.edu _Mon Mar 15 12:45:05 1999.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Return-Path: <news@watsun.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id MAA14211
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Mon, 15 Mar 1999 12:45:05 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id MAA26577
  7.     for kermit.misc@watsun.cc.columbia.edu; Mon, 15 Mar 1999 12:22:48 -0500 (EST)
  8. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  9. From: jaltman@watsun.cc.columbia.edu (Jeffrey Altman)
  10. Subject: Re: Carrier test
  11. Date: 15 Mar 1999 17:22:48 GMT
  12. Organization: Columbia University
  13. Message-ID: <7cjfl8$pue$1@newsmaster.cc.columbia.edu>
  14. To: kermit.misc@watsun.cc.columbia.edu
  15.  
  16. In article <7cjeiv$cbi$1@solaris.cc.vt.edu>,
  17. Tim Rhodes  <rhodes@rhodes.cc.vt.edu> wrote:
  18. : I'm converting a Procomm script to a C-Kermit script.  The Procomm script
  19. : contains tests to determine carrier is up.  Does kermit have a variable
  20. : that can be tested for this?  I've tried SET MODEM CARRIER-WATCH ON, but
  21. : on an outstanding receive, carrier dropping does not seem to interupt or
  22. : affect the script.
  23. : BTW, I have the book ordered through our campus bookstore, but it will not
  24. : arrive for two weeks.  Thanks...
  25. : --
  26. : .. Tim Rhodes  ........................  http://rhodes.cc.vt.edu/~rhodes ..
  27. : .. Lead Systems Engineer, Virginia Tech  ............  Tim.Rhodes@vt.edu ..
  28.  
  29.  
  30. Syntax: WAIT { number-of-seconds, hh:mm:ss } [modem-signal(s)]
  31.  
  32. Examples:
  33.   wait 5 cd cts
  34.   wait 23:59:59 cd
  35.  
  36.   Waits up to the given number of seconds or the given time of day for all
  37.   the specified modem signals to appear on the serial communication device.
  38.   Sets FAILURE if the signals do not appear in the given time or interrupted
  39.   from the keyboard during the waiting period.  Also see HELP PAUSE.
  40.  
  41. Signals:
  42.   cd  = Carrier Detect;
  43.   dsr = Dataset Ready;
  44.   cts = Clear To Send;
  45.   ri  = Ring Indicate.
  46.  
  47. However, if Carrier-Watch is ON and you are using INPUT commands the INPUT 
  48. command will fail if Carrier-Detect has dropped assuming there is no
  49. data waiting to be read.  Under what circumstances do you find that
  50. carrier-detect is not being noticed?
  51.  
  52. What version of C-kermit are you using and on which operating system 
  53. and version?
  54.  
  55.     Jeffrey Altman * Sr.Software Designer * Kermit-95 for Win32 and OS/2
  56.                  The Kermit Project * Columbia University
  57.               612 West 115th St #716 * New York, NY * 10025
  58.   http://www.kermit-project.org/k95.html * kermit-support@kermit-project.org